home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / util / cli / SetDTool.readme < prev    next >
Text File  |  2001-01-02  |  3KB  |  101 lines

  1. Short:    CLI-Program to change DefaultTool_Entrys
  2. Author:   mission@cs.tu-berlin.de (joerg riemer)
  3. Uploader: mission@cs.tu-berlin.de (joerg riemer)
  4. Version:  1.3
  5. Type:     util/cli
  6. Replaces: util/cli/SetDTool.*
  7. Requires: Kickstart V37+
  8.  
  9.  
  10. SetDTool  is  a  short cli-program (exactly 980 bytes) to  modify the
  11. DefaultTool_Entry  in  a  Project_Icon.   i couldn't found any in the
  12. aminet  that  want  work  simple  in the same way like this one.  the
  13. reason i have written this piece.
  14.  
  15. ** history **********************************************************
  16.  
  17. SetDTool v1.3 sourcecode: 14  date: 13.08.2000
  18.          options LIST/S,ALL/S added
  19.  
  20. SetDTool v1.1 sourcecode: 10  date: 02.04.2000
  21.          removed some stupid error-handling!
  22.  
  23. SetDTool V1.0 sourcecode: 09  date: 21.03.2000
  24.          first release
  25.  
  26. ** usage ************************************************************
  27.  
  28. SetDTool Template: FILE/A,TOOL/K,LIST/S,ALL/S,,QUIET/S
  29.  
  30.   FILE/A
  31.     Path/Filename etc.
  32.  
  33.   TOOL/K
  34.     The new DefaultTool string, requires TOOL as keyword.
  35.  
  36.   LIST/S
  37.     List Project_Icons only, does not changes anything.
  38.  
  39.   ALL/S
  40.     Edit all Project_Icons given by the current path
  41.     and all Sub-Directories into.
  42.  
  43.   QUIET/S
  44.     If given, SetDTool will do not print anything to the window.
  45.  
  46.     Example: SetDTool DH0:Picture/MyPic.info TOOL MultiView QUIET
  47.  
  48.  
  49. SetDTool  supports  pattern-matching.   it  is  useful if you want to
  50. change the DefaultTool_Entry in a couple of Project_Icons.
  51.  
  52.     Example: SetDTool DH1:Icons/#? TOOL SYS:Tools/IconEdit
  53.  
  54. for  further  information  about  pattern-matching  take look in your
  55. AmigaDOS  manual.   for  another  example, you maybe want to clear an
  56. entry in a Project_Icon then type follows:
  57.  
  58.     SetDTool DH1:Icons/def_project.info TOOL ""
  59.  
  60. it  is  also  possible  to  integrate  SetDTool  in  DOpus.  read the
  61. DirectoryOpus  manual  how  to  create  either a Button or a MenuItem
  62. using  SetDTool.
  63.  
  64. ** bit information **************************************************
  65.  
  66. SetDTool only edits Project_Icons.  any other File will be skipped by
  67. printing an error (212):  object is not of required type.
  68.  
  69. SetDTool   is   written  in  assembler.   the  sourcecode  is  highly
  70. optimized,  well  structured and for this revision (no.10) completely
  71. position  independent.   is  anybody interested in writing assembler?
  72. here is a good example to learn from.
  73.  
  74.  
  75. EVERYTHING  IN  THIS  DISTRIBUTION MUST BE KEPT TOGETHER, IN ORIGINAL
  76. AND  UNMODIFIED  FORM.   THE  SOURCECODE  OF  SETDTOOL IS FOR PRIVATE
  77. INVESTIGATIONS   ONLY!    ANY  CHANGES  TO  THE  SOURCE  REQUIRES  MY
  78. PERMISSION!
  79.  
  80. *** USE AT YOUR OWN RISK ***
  81.  
  82.  
  83. for suggestions, hints, tips and/or questions
  84. send an email to: mission@cs.tu-berlin.de
  85.  
  86.   joerg...
  87.  
  88.  
  89. ============================= Archive contents =============================
  90.  
  91. Original  Packed Ratio    Date     Time    Name
  92. -------- ------- ----- --------- --------  -------------
  93.      632     275 56.4% 05-Dec-00 22:32:50  SetDTool.info
  94.      980     691 29.4% 05-Dec-00 22:18:48 +SetDTool
  95.     2723    1355 50.2% 05-Dec-00 20:48:16 +SetDTool.readme
  96.     1188     336 71.7% 05-Dec-00 22:32:50 +SetDTool.readme.info
  97.    17034    4276 74.8% 05-Dec-00 16:18:04 +SetDTool.s
  98.     1188     339 71.4% 05-Dec-00 22:32:50 +SetDTool.s.info
  99. -------- ------- ----- --------- --------
  100.    23745    7272 69.3% 06-Dec-100 23:55:02   6 files
  101.